package com.campus.dao;

import com.campus.model.Student;
import com.campus.model.User;

import java.util.List;

public interface StudentDao {
    boolean addStudent(Student student, User user);
    boolean batchAddStudents(List<Student> students, List<User> users);
    int updateStudentStatus(Integer studentId, String status);
    int batchUpdateStudentStatus(List<Integer> studentIds, String status);
    boolean updateStudent(Integer studentId, Student updatedStudent);
    public int deleteStudentById(Integer id);
    // 查询所有学生
    List<Student> findAllStudents();
}
